<%@ page language="java" pageEncoding="UTF-8"%>
<%@include file="/global/global-head.jsp" %>
<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>吉车惠后台管理系统</title>
	<%@include file="/global/global-other.jsp" %>
	<script type="text/javascript">
		var $bn_oilStaion_map = new Object();
		var $bn_oilStaion_map_Datagrid;
		var viewDialog_map = null;
		$(function() {
			submitForm = function($dialog,$grid){
				$('#an_car_form').form('submit',{
					onSubmit:function(){
						if($(this).form('enableValidation').form('validate')){
							return true;
						}else{
							return false;
						}
					},
					success:function(data){
						var an_car_form = $('#an_car_form');
						$.post('${ctx}/bn/appuser/insert?_m=exec&r='+Math.random(), an_car_form.formSerialize(), function(json) {
							var errcode = json.errcode;
							var errmsg = json.errmsg;
							if(errcode == '1'){
								$.messager.alert("提示",errmsg,"error");
							}else{
								$.messager.alert("提示","保存成功！","info",function(){
									$dialog.dialog('destroy');
									$grid.datagrid('reload');
								});
							}
						}, "JSON");
					}
				});
			};
		});
	</script>
</head>
<body>
<div class="form-box">
	<div class="form-body">
		<form role="form" name="an_car_form" id="an_car_form" class="easyui-form form form-horizontal" data-options="novalidate:true">
			<%--<div class="seg-title">--%>
				<%--<div class="seg-title-box">--%>
					<%--<ul>--%>
						<%--<li class="seg-title-box-icon" ><img src="${ctx }/assets/images/communication.gif"/></li>--%>
						<%--<li class="seg-title-box-text">基本信息</li>--%>
						<%--<input type="hidden" id="oilcardId" name="oilcardId" value="">--%>
						<%--<input type="hidden" id="appUserId" name="appUserId" value="${anAppUserEntity.appUserId}">--%>
					<%--</ul>--%>
				<%--</div>--%>
			<%--</div>--%>
				<div id="tt" class="easyui-tabs" style="width:100%;height:500px;">
					<div title="基本信息" style="padding:20px;display:none;">
						<input type="hidden" id="appUserId" name="appUserId" value="${anAppUserEntity.appUserId}">
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">手机号：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text"  id="phone" name="phone" value="${anAppUserEntity.phone}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled" >
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">姓名：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="name" name="name"  class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">昵称：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="nickName" name="nickName" value="${anAppUserEntity.name}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">性别：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="sex" name="sex" value="${anAppUserEntity.sex}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">年龄段：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="ages" name="ages" value="${anAppUserEntity.name}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">省份：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="provinceCode" name="provinceCode" value="${anAppUserEntity.sex}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">城市：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="cityCode" name="cityCode" value="${anAppUserEntity.name}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">行业：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="trade" name="trade" value="${anAppUserEntity.sex}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">实名认证：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="certification" name="certification" value="${anAppUserEntity.name}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">冻结状态：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="freezeStatus" name="freezeStatus" value="${anAppUserEntity.sex}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">锁定状态：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="lockStatus" name="lockStatus" value="${anAppUserEntity.name}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">首冲状态：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="firstPayMark" name="firstPayMark" value="${anAppUserEntity.sex}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">注册时间：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="registerAt" name="registerAt" value="${anAppUserEntity.name}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">最后一次登录时间：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="lastLoginAt" name="lastLoginAt" value="${anAppUserEntity.sex}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">
								<p class="label-txt">最后一次签到时间：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="lastSigninAt" name="lastSigninAt" value="${anAppUserEntity.name}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
							<label class="col-sm-2 control-label">
								<p class="label-txt">邀请码：</p>
								<p class="star">*</p>
							</label>
							<div class="col-sm-3">
								<input type="text" id="invitationCode" name="invitationCode" value="${anAppUserEntity.sex}" class="form-control easyui-validatebox" style="width:100%;height:34px;line-height:34px;" required="required" validType="length[1,10]" disabled="disabled">
							</div>
						</div>
					</div>
					<div title="Tab2" class="easyui-tabs" style="width:100%;height:500px;">
						tab2
					</div>
					<div title="Tab3" class="easyui-tabs" style="width:100%;height:500px;">
						tab3
					</div>
				</div>

		</form>
	</div>
</div>
</body>
</html>